package com.asdan.seededu.service;

import java.util.List;

import com.asdan.seededu.entity.security.SubProject;
import com.asdan.seededu.entity.security.SubProjectStep;
import com.asdan.seededu.entity.security.User;
import com.asdan.seededu.entity.security.Userdata;
import com.asdan.seededu.util.Pager;

public interface ProjectService {
	
	public List<SubProject> getProjects(String fpid ,String spid ) ;
	public boolean addProjects(String fpid , String spid ) ;
	public List<SubProjectStep> getProjectStep(int spid) ;
	public List<SubProject>  searchPro(String name)  ;
	public boolean  updateSubProjectStep(SubProjectStep sps) ;
	public boolean  addUsertoSubProject(int stepid ,int spid ,List<User> users);
	public boolean delUserfromSub(int spid ,int uid) ;
	public List<Userdata> getUsersbyStepid(String spid ) ;
	public boolean updateUserdata(int stepid ,int uid,User user) ;
	public Pager<Userdata> getUsersbyPro(String spid ,String name, String schoolId, String cellPhone, String email ,String type ,int pageNo) ;
}
